"use strict";
function User() {}
User.prototype.getUserName = function() {};

function Admin() {}
Admin.prototype = Object.create(User.prototype);
Admin.prototype.role = function() {};

function Member() {}
Member.prototype = Object.create(User.prototype);
Member.prototype.email = function() {};
var admin = new Admin()
console.log(admin);
console.log(new Member());


console.log(admin instanceof Admin)
console.log(admin instanceof User)

console.log(admin.constructor)
